import axios from "axios";

//配置请求的基础路径
axios.defaults.baseURL = '/api'

//登入请求
export let loginApi = (username,password)=>axios.post('/users/login',{username,password})